import { Provide } from '@midwayjs/decorator';
import { CoolController, BaseController } from '@cool-midway/core';
import { OriginalInfoEntity } from '../../entity/info';

/**
 * 商品
 */
@Provide()
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: OriginalInfoEntity,
  pageQueryOp: {
    keyWordLikeFields: ['title', 'subTitle', 'keywords', 'a.id'],
    fieldEq: ['status'],
  },
})
export class AdminOriginalInfoController extends BaseController {
  
}
